import { createStore } from 'vuex'
import { ref } from 'vue'
export default createStore({
  state: {
    token: "5583ebd8-7f7b-47ba-99c1-684d13f9d83c",
    tabControl: ref(true),
    options: {
      tab: "all",
      current: 1,
    }
  },
  mutations: {
    changeCurrent(state, id) {
      console.log(id);
      state.options.current = id
    }
  },
  actions: {
  },
  modules: {
  }
})
